package br.com.pd.messaging;

import java.util.List;

import br.com.util.PropertiesLoader;

public class SubscribeMessage extends AbstractMessage{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1649347984379944318L;
	
	private String response; 
	
	public SubscribeMessage(String operation) {
		super.operation = operation;
		this.portSender = Integer.parseInt(PropertiesLoader.getInstance().getPropertie(PropertiesLoader.PORT_SUPPLY_RECEIVER));
	}
	
	public SubscribeMessage(){
		
	}
	
	@Override
	public Object getResponse() {
		return this.response;
	}

	@Override
	public void addResponse(Object o) {
		this.response = (String) o;
	}

	@Override
	public List<Object> getParams() {
		return null;
	}
	
	

}
